					<table border="0" cellpadding="0" cellspacing="0" width="918" class="xf_membill_view_contable">
						<tbody>
							<tr>
								<th align="left">历史收款情况：</th>
							</tr>
							<tr>                                          
								<td align="left" class="xf_membill_view_tdzytable">
									<table border="0" cellpadding="0" cellspacing="0" width="879" class="xf_membill_view_lishi">
										<tbody>
											<tr>
												<th align="center">序号</th>
												<th align="center">账单标题</th>
												<th align="center">本期应收款金额</th>
												<th align="center">是否逾期</th>
												<th align="center">状态</th>
												<th align="center">到期还款时间</th>
												<th align="center">实际还款时间</th>
											</tr>
											#{list items:page?.page,as:'received'}
											<tr class="membill_list_yqtr">                                          
												<td>${received_index}</td>
												<td>${received?.title}</td>
												<td><span class="xf_membill_view_tdlv">￥${received?.receive_amount}</span></td>
												#{if received.status == -1 || received.status == 0}
												<td><span class="xf_membill_view_tdlv">未逾期</span></td>
												#{/if}
												#{else}
												<td><span class="xf_membill_view_tdlv">逾期</span></td>
												#{/else}
												#{if received.status == -1 || received.status == -2}
												<td><span class="xf_membill_view_tdlv">未收款</span></td>
												#{/if}
												#{else}
												<td><span class="xf_membill_view_tdlv">已收款</span></td>
												#{/else}
												<td><span class="xf_membill_view_tdred">${received?.receive_time?.format('yyyy-MM-dd')}</span></td>
												<td><span class="xf_membill_view_tdred">${received?.real_receive_time?.format('yyyy-MM-dd')}</span></td>
											</tr>
											#{/list}
										</tbody>
									</table>
								</td>
							</tr>
							<tr>
									<td>
										<!-- 分页器 -->
										<div class="xf_wylc_page xf_zqzr_view_page1 xf_znx_view_page1">
										#{page
		                                  funMethod:"showBillPay",currPage:page.currPage,pageSize:page.pageSize,totalCount:page.totalCount,theme:2
		                                /}
										</div>
									</td>
							</tr>
						</tbody>
					</table>
<script>
    function showBillPay(currPage){
         $.ajax({
			url : "@{investBillRepayment()}",
			type : "POST",
			data : {
				"currPage" : currPage,
				"bidId" : '${bidId}',
			},
			success : function(data) {
				if (data.code < 0) {
					alert(data.msg);

					return;
				}

				$("#payment").html(data);
			},
			error : function() {
				alert("对不起，出现错误!");
			}
		});
    }
</script>